package io.kimmking.dubbo.demo.consumer.service;

import java.math.BigDecimal;

/**
 * @author gechenpeng
 * @date 2021-06-07
 */
public interface AccountService {

    /**
     * 兑换人民币
     *
     * @param userId
     * @param dollarAmount
     */
    void exchangeForRmb(String userId, BigDecimal dollarAmount);
}
